﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EShop.Model
{
    public class MerchandiseSell
    {
        private string _barcode;
        private string _MerchandiseName;
        private int _stockinorder;
        private int _sellquantity;
        private decimal _sellprice;
        private decimal _saleprice;
        private DateTime _selltime;
        /// <summary>
        /// 商品条码
        /// </summary>
        public string Barcode
        {
            set { _barcode = value; }
            get { return _barcode; }
        }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string MerchandiseName
        {
            set { _MerchandiseName = value; }
            get { return _MerchandiseName; }
        }

        /// <summary>
        /// 入库批次
        /// </summary>
        public int StockInOrder
        {
            set { _stockinorder = value; }
            get { return _stockinorder; }
        }
        /// <summary>
        /// 销售数量
        /// </summary>
        public int SellQuantity
        {
            set { _sellquantity = value; }
            get { return _sellquantity; }
        }
        /// <summary>
        /// 原价
        /// </summary>
        public decimal SellPrice
        {
            set { _sellprice = value; }
            get { return _sellprice; }
        }
        /// <summary>
        /// 实际价格
        /// </summary>
        public decimal SalePrice
        {
            set { _saleprice = value; }
            get { return _saleprice; }
        }
        /// <summary>
        /// 销售时间
        /// </summary>
        public DateTime SellTime
        {
            set { _selltime = value; }
            get { return _selltime; }
        }

        private string _UnitName;
        /// <summary>
        /// 商品单位
        /// </summary>
        public string UnitName
        {
            get { return _UnitName; }
            set { _UnitName = value; }
        }

        private int _BuyNumber;
        /// <summary>
        /// 销售数量
        /// </summary>
        public int BuyNumber
        {
            get { return _BuyNumber; }
            set { _BuyNumber = value; }
        }


    }
}
